<?php
/**
 * 投简历
 * edit by gemj
 * 2011－03－23
 */

class EAdmin_Page_Api extends EAdmin_Page_Abstract
{
    public function validate(ME_Request $input, ME_Response $output)
    {
        return true;
    }

    public function doDefault(ME_Request $input, ME_Response $output)
    {
	$uid = $input->get('uid');
	$firm_id = $input->get('firm_id');
	$job_id = $input->get('job_id');
	
	$result = Libs_EState::changeEResumeState(array("eid"=>$firm_id,"jobid"=>$job_id, "uid"=>$uid, "state"=>1));
	if($result){
		echo '1';
		exit;
	}
	echo '0';
	exit;
    }

}
